package com.bamboo.statistics.feign.fallback;

import com.bamboo.statistics.feign.UCenterFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 熔断处理类
 *
 * @author jack.wu
 * @version 1.0
 * @date 2020-07-11
 */
@Slf4j
@Component
public class UCenterFeignClientFallback implements UCenterFeignClient {


    @Override
    public int getRegisterCount(String day) {
        log.info("进入熔断方法：{}", "UCenterFeignClientFallback");
        return 0;
    }
}
